<?php

/**
 * mailing_list components.
 *
 * @package    Terapia Vital
 * @subpackage mailing_list
 * @author     Foxsis
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class mailing_listComponents extends sfComponentsFoxsis
{
	public function executeFiltro()
    {
    	    
    }
    
    public function executeUltimos()
    {
    	$order = array(
    		'coluna'=>'id_mailing_list',
    		'direcao'=>'DESC'
    	);
    	
    	$this->mailing_lists = MailingListTable::consultar(array(), $order)->execute();
    }
}